import request from '@/utils/request'

export function getOne(serialno, num) {
  return request({
    url: `/api/ym/setting/${serialno}/${num}`,
    method: 'get'
  })
}

export function addOne(serialno, num, data) {
  return request({
    url: `/api/ym/setting/${serialno}/${num}`,
    method: 'post',
    data: {
      datas: data
    }
  })
}

